/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package is.bean.entity.region;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.*;

/**
 *
 * @author aspr0
 */
public interface RegionBeanRemoteHome extends EJBHome
{
    RegionBeanRemote findByPrimaryKey(Integer key) throws FinderException, RemoteException;

    Collection findByExample(Region example, int start, int end) throws RemoteException;

    RegionBeanRemote createInstance(Region data) throws CreateException, RemoteException;

    Collection findParentsAvailable(Integer id) throws RemoteException;

    boolean entityExist(Integer primaryKey) throws RemoteException;

    Collection findByRange(int start, int end) throws FinderException, RemoteException;

    int countFind(Region example) throws RemoteException;
}
